package com.it.pojo.enums;

/**
 * @author: zgc
 * @version: 1.0
 * @description:
 * @date: 2023/12/18 10:50
 */
public enum UserStatus {
    //0:正常
    //1:禁用
    ON(0,"正常"),
    OFF(1,"禁用");
    private final Integer status;
    private final String name;

    UserStatus(Integer status, String name) {
        this.status = status;
        this.name = name;
    }

    public Integer getStatus() {
        return status;
    }

    public String getName() {
        return name;
    }
}
